package com.ruoyi.common.constant;

public class StatusConstant {
	/** 用户登录标识 */
	public static final int LOGIN = 1;
	public static final int QUIT = 0;
	public static final long USER_STATUS_NORMAL = 0;
	public static final long USER_STATUS_DENY = 1;
	/*************************** 分支机构   start******************************/
	/** 正常 */
	public static  final long ORG_STATUS_NORMAL				= 8; 
	/** 隐藏 */
	public static  final long ORG_STATUS_HIDDEN				= 9; 
	/*************************** 分支机构   end******************************/
	
	/***************************  字典表  start******************************/
	/** 正常 */
	public static  final long DIC_STATUS_NORMAL				= 8; 
	/** 隐藏 */
	public static  final long DIC_STATUS_HIDDEN				= 9; 
	/** 可以修改 */
    public static final long  DIC_ACCESS_LEVEL_1			= 1;
    /** 不能修改 */
    public static final long  DIC_ACCESS_LEVEL_2			= 2;
	/*************************** 字典表   end******************************/

	//验证码使用状态 0: 未验证 1: 已验证
	public static final long VALIDATECODE_STATUS_NO_VERIFY = 0;
	public static final long VALIDATECODE_STATUS_VERIFY = 1;

	// 验证码是否过期 0:正常，-1:验证码错误，-2:过期，-3:未生成, -4:验证
	public static final int VALIDATECODE_NORMAL = 0;
	public static final int VALIDATECODE_ERROR = -1;
	public static final int VALIDATECODE_EXPIRED = -2;
	public static final int VALIDATECODE_NOT_CREATE = -3;
	public static final int VALIDATECODE_FAIL = -4;
	public static final int VALIDATECODE_NO = -20200402;

	//短信发送状态
	public static final long MESSAGE_STATUS_UNSEND = 1;//未发送
	public static final long MESSAGE_STATUS_SENDING = 2;//发送失败
	public static final long MESSAGE_STATUS_SUCCESS = 3;//发送成功
	public static final long MESSAGE_STATUS_VALIDATIED = 4;//已被验证使用

	public static final String CUST_STATUS_UNACCEPT = "0"; // 未受理
	public static final String CUST_STATUS_FOLLOW = "1"; // 待跟进
	public static final String CUST_STATUS_VISIT = "2"; // 已上门
	public static final String CUST_STATUS_TOBESIGNED = "3"; // 待签约
	public static final String CUST_STATUS_SIGNED = "4"; // 已签单
	public static final String CUST_STATUS_LOAN = "5"; // 已放款
	public static final String CUST_STATUS_NO_QUALIFY = "6"; // 资质不符
	public static final String CUST_STATUS_TROUBLE = "7"; // 捣乱申请
	public static final String CUST_STATUS_NONELOCAL = "8"; // 外地申请
	public static final String CUST_STATUS_REAPPLY = "9"; // 重复申请
	public static final String CUST_STATUS_UNALLOCATED = "10"; // 未分配
	public static final String CUST_STATUS_SUBMITED = "11"; // 审件中


	// 客户备忘提醒状态 0-未提醒 1-已提醒
	public static final String CUST_NOTICE_STATUS_NO = "0";
	public static final String CUST_NOTICE_STATUS_YES = "1";

	// 客户分配状态 0-再分配 1-已分配（我的客户） 2-必跟进客户
	public static final String DISTRIBUTE_STATUS_RE = "0";
	public static final String DISTRIBUTE_STATUS_YES = "1";
	public static final String DISTRIBUTE_STATUS_MUST = "2";

	// 审件状态
	public static final String INCOMING_STATUS_SUBMIT = "1"; // 审核中
	public static final String INCOMING_STATUS_SUCCESS = "2"; // 已放款
	public static final String INCOMING_STATUS_FAIL = "3"; // 已拒件
	public static final String INCOMING_STATUS_MISS = "4"; // 违约
	public static final String INCOMING_STATUS_DOWN = "5"; // 已归档

    // 非安全登录授权状态
    public static final Long SECURE_STATUS_INIT = 0L; // 授权请求
    public static final Long SECURE_STATUS_PASS = 1L; // 授权-通过
    public static final Long SECURE_STATUS_REJECT = 2L; // 授权-拒绝

	// 客户合作单状态
	public static final String Cooperation_STATUS_OBAINED = "0"; // 待拉取
	public static final String Cooperation_STATUS_DISTRIBUTION = "1"; // 待分配
	public static final String Cooperation_STATUS_ASSIGNED = "2"; // 已分配
	public static final String Cooperation_STATUS_BILLED = "3"; // 已开单

}
